package cn.intotw.rdcj.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author Chenxiang
 * @Description:
 * @create 2020/3/31 15:37
 */
//@EnableFeignClients(basePackages = "cn.intotw.rdcj.*.api")
//@EnableEurekaClient
@SpringBootApplication(exclude = JacksonAutoConfiguration.class,
        scanBasePackages = {"cn.intotw.rdcj"})
@MapperScan("cn.intotw.rdcj.*.domain.dao")
//@EnableHystrix
@EnableDiscoveryClient(autoRegister = false)
public class RdcjAdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(RdcjAdminApplication.class);
    }
}